WebDevStudios\CCForWoo\View\Admin\WooTab A

Total Complexity 66
Dependencies 5
Dependents 0
Total lines 874
Lines of code 428
Logical lines of code 138
Comment lines 337
Methods 32
Properties 6

Methods 32

Method Rating Maintainability Complexity Lines of code
get_store_information_settings()
S
38 1 96
process_errors()
S
58 6 15
get_settings()
S
56 5 21
adjust_styles()
S
61 4 12
save()
S
63 4 11
add_cc_connection_button()
S
54 3 24
get_default_settings_options()
S
59 3 15
add_rest_fields()
S
61 3 12
validate_value()
S
61 3 12
get_customer_data_settings()
S
51 1 32
requested_connect_to_cc()
S
65 3 9
maybe_update_connection_status()
S
66 3 8
validate_option_values()
S
66 3 9
maybe_add_connection_button()
S
70 3 6
register_hooks()
S
54 1 19
get_connection_established_options()
S
60 1 16
sanitize_phone_number()
S
70 2 6
__construct()
S
67 2 7
maybe_redirect_to_cc()
S
66 2 8
display_anti_spam_notice()
S
63 1 14
meets_connect_requirements()
S
61 1 13
render_cta_button()
S
65 1 11
allow_redirect_to_cc()
S
77 1 4
get_connection_attempted_options()
S
64 1 10
add_rest_group()
S
67 1 8
update_setup_option()
S
80 1 3
get_filtered_settings()
S
77 1 3
get_woo_country()
S
79 1 3
get_sections()
S
67 1 7
get_rest_settings_options()
S
72 1 6
get_connection_button()
S
74 1 5
has_active_settings_section()
S
78 1 3